package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @TableName tb_surplus
 */
@TableName(value ="tb_surplus")
@Data
public class Surplus implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String vehicleId;

    /**
     * 
     */
    private Integer statusId;

    /**
     * 
     */
    private Integer appendId;

    /**
     * 
     */
    private Integer provinceId;

    @TableField(exist = false)
    private String provinceName;

    /**
     * 
     */
    private Integer cityId;

    @TableField(exist = false)
    private String cityName;
    /**
     * 
     */
    private Integer vehicleNum;


    /**
     * 
     */
    @TableField(exist = false)
    private Integer surplusNum;

    /**
     * 
     */
    private Integer brandId;

    @TableField(exist = false)
    private String brandName;
    /**
     * 
     */
    private Integer seriesId;

    @TableField(exist = false)
    private String seriesName;
    /**
     * 
     */
    private Integer modelId;

    @TableField(exist = false)
    private String modelName;

    @TableField(exist = false)
    private User user;

    @TableField(exist = false)
    private Status status;

    @TableField(exist = false)
    private Province province;

    @TableField(exist = false)
    private Brand brand;

    @TableField(exist = false)
    private Append append;

    @TableField(exist = false)
    private List<Image> imageList;


}